package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HyHouseFacility;

/**
 * 房源设施Mapper接口
 * 
 * @author wangjiangbo
 * @date 2025-01-10
 */
public interface HyHouseFacilityMapper 
{
    /**
     * 查询房源设施
     * 
     * @param id 房源设施主键
     * @return 房源设施
     */
    public HyHouseFacility selectHyHouseFacilityById(Long id);

    /**
     * 查询房源设施列表
     * 
     * @param hyHouseFacility 房源设施
     * @return 房源设施集合
     */
    public List<HyHouseFacility> selectHyHouseFacilityList(HyHouseFacility hyHouseFacility);

    /**
     * 新增房源设施
     * 
     * @param hyHouseFacility 房源设施
     * @return 结果
     */
    public int insertHyHouseFacility(HyHouseFacility hyHouseFacility);

    /**
     * 修改房源设施
     * 
     * @param hyHouseFacility 房源设施
     * @return 结果
     */
    public int updateHyHouseFacility(HyHouseFacility hyHouseFacility);

    /**
     * 删除房源设施
     * 
     * @param id 房源设施主键
     * @return 结果
     */
    public int deleteHyHouseFacilityById(Long id);

    /**
     * 批量删除房源设施
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHyHouseFacilityByIds(Long[] ids);
}
